#!/bin/bash
# $Id$
i=0
t0=1000000
echo > mt.log
while true; do
i=`expr $i + 1`
if [ $i -gt 10 ]; then
 break
fi
#find . -name '*.class' -exec rm '{}' ';'
/usr/bin/time -f %e -o t.t $*
t=`cat t.t`
echo $t >> mt.log
e=`echo "$t < $t0" | bc`
if [ $e == 1 ]; then
  t0=$t
fi
done
echo $t0 >> timer2.log
